﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ChangePassword.ascx.cs" Inherits="Job.Web.userControls.Company.ChangePassword" %>


<table border="1px" bordercolor="#d8e1e7" style="border-style: solid; border-collapse: collapse"
    width="99%" class="ResumeBaseTable" align="center">
    <tbody>
        <tr>
            <td colspan="3" class="title_1">
                更改密码
            </td>
        </tr>
        <tr align="left">            
            <td class="ResumeLabelTD" colspan="3" id="message" runat="server">
                &nbsp
            </td>
        </tr>        
        <tr align="left">            
            <td class="ResumeLabelTD">
                旧密码&nbsp
            </td>
            <td width="300" class="ResumeTD">
                <asp:TextBox ID="tbOldPassword" runat="server" CssClass="TextBox" Width="150px" 
                    TextMode="Password"></asp:TextBox>
            </td>        
            <td class="ResumeTD">
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="tbOldPassword"
                    ErrorMessage="请输入旧密码"></asp:RequiredFieldValidator>
            </td>            
        </tr>
        

        <tr align="left">            
            <td colspan="3">&nbsp;</td>
        </tr>   
        
        <tr align="left">            
            <td class="ResumeLabelTD">
                新密码&nbsp
            </td>
            <td width="300" class="ResumeTD">
                <asp:TextBox ID="tbNewPassword1" runat="server" CssClass="TextBox" Width="150px" MaxLength="30"
                    TextMode="Password"></asp:TextBox>                
            </td>        
            <td class="ResumeTD">
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="tbNewPassword1"
                    ErrorMessage="请输入新密码"></asp:RequiredFieldValidator>
            </td>            
        </tr>       

        <tr align="left">            
            <td class="ResumeLabelTD">
                密码确认&nbsp
            </td>
            <td width="300" class="ResumeTD">
                <asp:TextBox ID="tbNewPassword2" runat="server" CssClass="TextBox" Width="150px" MaxLength="30"
                    TextMode="Password"></asp:TextBox>      
            </td>        
            <td class="ResumeTD">
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="tbNewPassword2"
                    ErrorMessage="请再次输入新密码"></asp:RequiredFieldValidator>
                <asp:CompareValidator ID="cvPassword" runat="server" 
                    ControlToCompare="tbNewPassword1" ControlToValidate="tbNewPassword2" 
                    ErrorMessage="两次输入的新密码不一致"></asp:CompareValidator>                    
            </td>            
        </tr>           
        
        <tr>
            <td class="ResumeLabelTD">&nbsp;</td>        
            <td colspan="2" class="ResumeTD" align="center">
                <asp:Button ID="btnSave" runat="server" Text=" 更改密码 " CssClass="btn_2k3" 
                    onclick="btnSave_Click" />
            </td>
        </tr>


 
    </tbody>
</table>
<br />